package com.atguigu.yygh.order.client;

import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @ClassName OrderFeignClient
 * @Description 此类描述:
 * @Author dangchen
 * @DateTime 2022-10-23 16:32
 * @Version 1.0
 */
@FeignClient("service-orders")
public interface OrderFeignClient {
    //获取订单统计数据
    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String,Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
